home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / LIBRARY / DMTDEMOS / GETDTA.DEM < prev    next >
Text File  |  1994-07-02  |  298b  |  19 lines

  1. program GetDTASample;
  2.  
  3.  uses crt, DMT;
  4.  
  5.  var
  6.    DTAseg,
  7.    DTAofs  : word;
  8.  
  9. begin
  10.   Color( 7, 0 );
  11.   clrscr;
  12.  
  13.   GetDTA( DTAseg, DTAOfs );    { Call GetDTA procedure }
  14.  
  15.   writeln;
  16.   writeln( 'Current DTA address : ', WrdToHex( DTAseg ), ':', WrdToHex( DTAofs ) );
  17.  
  18.   GetEnter;
  19. end.